function workerTest(){
    var tom = new Worker('Tom' , 21);
    var expectResult = 'My name is Tom. I am 21 years old. I am a Worker. I have a job.';
    (expectResult === tom.introduce()) ? console.log('workerTest passed!') : console.log('workerTest failed!');
}
workerTest();